<jsp:include page="header.jsp" />
<%@ page import="UnOfficeDeTourisme.Catalogue" %>
<%@ page import="java.util.List" %>
<%@ page import="java.util.ArrayList" %>
<link rel="stylesheet" type="text/css" href="CSS/leCSS.css" >

	<h1 class="titrePage"><%=request.getAttribute("pageTitle") %></h1>
	
	<form action="/OfficeTourisme/consulterCat" method="post">
 	<div>
     <table style="width: 100%;">
     <tr> 
    
     <td style="width: 20%;" > 
     <input class="btn_cat_printemps" type="button" value="" > 

     </td>
    
     <td style="width: 20%;" >
    <input class="btn_cat_ete" type="button" value="">
     </td> 

    
     <td style="width: 20%;" > 
     <input class="btn_cat_automne" type="button" value="">
     </td> 
    
     <td style="width: 20%;" > 
     <input class="btn_cat_hiver" type="button" value="">
	</td> 
 
     </tr> 
    </table> 
     </div> 

	<table style="width: 100%;">
     <tr> 
    <%
    	List<Catalogue> listeCatalogues = (List<Catalogue>) session.getAttribute("listeCatalogues");
    	if (listeCatalogues==null) {
    		listeCatalogues = new ArrayList<Catalogue>();
    	}
    	for (Catalogue c : listeCatalogues) {
     %>
    
    <td style="width: 20%;" >
    <input class="btn_taille_egale" type="button" value="<%=c.nomCatalogue %>" onclick="document.location='/OfficeTourisme/accesCat?idcat=<%=c.idCatalogue%>'"/>
    </td>
    
     <%
		}
     %> 
    </tr>
    </table>

		<br><br>
		<input class="btn_taille_egale" type="button" value="Retour" onclick="document.location='/OfficeTourisme/cataloguePresta'">
		<br>
		<input class="btn_taille_egale" type="button" value="Quitter" onclick="document.location='/OfficeTourisme/deconnect'">   
	</form>
	

<jsp:include page="footer.jsp" />